package net.aiion.weave.impl.ui.events;

import net.aiion.weave.spi.ui.events.ValueChangedEvent;

public class ValueChangedEventImpl implements ValueChangedEvent
{
    private final String oldValue;
    private final String newValue;

    public ValueChangedEventImpl(final String aOldValue, final String aNewValue) {
        oldValue = aOldValue;
        newValue = aNewValue;
    }

    @Override
    public String getOldValue() {
        return oldValue;
    }

    @Override
    public String getNewValue() {
        return newValue;
    }
}
